package io.gitee.thinkbungee.mongo.service.impl;

import io.gitee.thinkbungee.crud.mongo.service.MongoCRUDHelper;
import io.gitee.thinkbungee.mongo.entity.UsernameEntity;
import io.gitee.thinkbungee.mongo.service.UsernameService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


/**
 * @author chenyichang
 * @email 820117089@qq.com
 * @date 2022-05-26 17:17:25
 */
@Service("usernameService")
public class UsernameServiceImpl implements UsernameService {

    @Autowired
    private MongoCRUDHelper mongoCRUDHelper;

    @Override
    public MongoCRUDHelper getMongoCRUDHelper() {
        return mongoCRUDHelper;
    }

    @Override
    public Class<UsernameEntity> getEntityClass() {
        return UsernameEntity.class;
    }

}
